package com.hospital.hospitalrelay.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.common.dto.SickpersonDto;
import com.hospital.hospitalrelay.entity.Sickperson;
import com.hospital.hospitalrelay.mapper.SickpersonMapper;
import com.hospital.hospitalrelay.service.ISickpersonService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 患者表 服务实现类
 * </p>
 *
 * @author 闫腾腾
 * @since 2020-10-21
 */
@Service
public class SickpersonServiceImpl extends ServiceImpl<SickpersonMapper, Sickperson> implements ISickpersonService {

    //待收费
    @Override
    public IPage<Sickperson> fylist(Page page, SickpersonDto sickpersonDto) {
        return baseMapper.fylist(page,sickpersonDto);
    }

    //已收费
    @Override
    public IPage<Sickperson> yslist(Page page, SickpersonDto sickpersonDto) {
        return baseMapper.yslist(page,sickpersonDto);
    }

    //已退费
    @Override
    public IPage<Sickperson> ytlist(Page page, SickpersonDto sickpersonDto) {
        return baseMapper.ytlist(page,sickpersonDto);
    }
}
